﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCMS.Business.DataContract
{
    public class UserInfo
    {
        public int ID { set; get; }
        public string UserName { set; get; }
        public string Password { set; get; }
        public string Roles { set; get; }
        public string FullName { set; get; }
        public string Email { set; get; }
        public string Phone { set; get; }
        public string Address { set; get; }
        public string Position { set; get; }
        public string Department { set; get; }

        public UserInfo(){}
        public UserInfo(int id,  string username, string password, string roles, 
            string fullname, string email, string phone, string address, 
            string position, string department)
        {
            this.ID = id;
            this.UserName = username;
            this.Password = password;
            this.Roles = roles;
            this.FullName = fullname;
            this.Email = email;
            this.Phone = phone;
            this.Address = address;
            this.Position = position;
            this.Department = department;
        }
    }
}
